class Test
	{
	public static void main(String[] agrs)
		{
		
		Calculator c = new Calculator();
		
		/*
		System.out.println("The sum of two integer type numbers 10 and 20 is  " + c.add(10,20));
		System.out.println("The sum of two floating point type numbers 3.2 and 9.4 is  " + c.add(3.2f, 9.4f));
		System.out.println("The sum of two double type numbers 9.34 and 5.32 is  " + c.add(9.34, 5.32));
		System.out.println("Area of the rectangle with length 5.32 and breadth 8.95 is " + c.areaOfARectangle(5.32,8.95));
		System.out.println("Area of the circle with radius 7 is " + c.areaOfACircle(7.0));
		
		int[] a = c.fibonacciSeries(10);
		System.out.println("Fibonacci Series : ");
		for(int i=0;i<a.length;i++)
			{
			System.out.print(a[i] + " ");
			}
		
		
		int[] a = {10,20,30,40,50};
		int pos=c.binarySearch(a,10);
		if(pos==-1)
			System.out.print("Search Unsuccessful");
		else
			System.out.print("Element found at " + pos);
			
		*/
		
		int[] a = {10,20,30,40,50};
		int pos=c.linearSearch(a,10);
		if(pos==-1)
			System.out.print("Search Unsuccessful");
		else
			System.out.print("Element found at " + pos);
		
		}
	}